package com.wissen.factory;
/**
 * @author wissen16
 * This Factory class which shows how Factory Design Pattern Works
 */
class Factory{
	/**
	 * main function runs factory object
	 * @param arg console input
	 */
	public static void main(String arg[]){
		try{
		Wissen wissen=new Wissen();
		wissen=wissen.get_category(1);
		System.out.println(wissen.create_Project());
		}
		catch(Exception e){
			System.out.println(e.getMessage());
		}
	}
}
